package com.wcj.entity.order;

import com.wcj.annotation.Component;
import com.wcj.annotation.Value;

/**
 * @author wcj
 * @Date 2021/6/29 16:26
 * @Version 1.0
 */
@Component
public class Order {

    @Value("xxx123")
    private String orderId;

    @Value("wcj")
    private String name;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
